package com.wlc.oop.demo10;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description AdHero
 * @date 2021-07-05 06:52
 */
public class AdHero extends Hero{

    public AdHero(){
        System.out.println("这是子类AdHero");
    }

    public AdHero(String name){
        super("老色皮");
        System.out.println("这是AD英雄 "+ name);
    }

    public static void main(String[] args) {
        new AdHero("xiaoming");
    }
}
